build: update dependency @ai-sdk/google to v3 #211
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.0.39->^3.0.0Release Notes
vercel/ai (@ai-sdk/google)
v3.0.1Compare Source
Patch Changes
29264a3]v3.0.0Compare Source
Major Changes
dee8b05: ai SDK 6 betaMinor Changes
78928cb: release: start 5.1 betaPatch Changes
0c3b58b: fix(provider): add specificationVersion to ProviderV30adc679: feat(provider): shared spec v350b70d6: feat(anthropic): add programmatic tool callingb8ea36e: feat(provider/anthropic): Anthropic-native structured outputsed537e1: Add support for pdf file in tool result in anthropic2109385: 'fix(anthropic): Opus 4.5maxOutputTokensbump32000->64000'7c4328e: Adds url-based pdf and image support for anthropic tool results8d9e8ad: chore(provider): remove generics from EmbeddingModelV3Before
After
f33a018: chore: add model ID for Haiku 4.5b2dbfbf: add context_management for anthropicdce03c4: feat: tool input examples2625a04: feat(openai); update spec for mcp approval11e4abe: feat(provider/anthropic): web search tool updatesf13958c: chore(antropic): allow custom names for provider-defined toolsafb00e3: feat(provider/anthropic): add text_editor_20250728 tool supportAdd text_editor_20250728 tool for Claude 4 models (Sonnet 4, Opus 4, Opus 4.1) with optional max_characters parameter and no undo_edit command support.
95f65c2: chore: use import * from zod/v4954c356: feat(openai): allow custom names for provider-defined tools9e35785: fix(anthropic): send {} as tool input when streaming tool calls without arguments544d4e8: chore(specification): rename v3 provider defined tool to provider toola5f77a6: fix(anthropic): remove outdated tool name docsca07285: feat(anthropic): add prompt caching validationa5a8db4: chore: add model ID for Sonnet 4.51742445: Support for custom provider name in google and anthropic providerse8109d3: feat: tool execution approval87db851: fix(vertex/anthropic): passing beta header only for structured outputsf6603b7: fix(provider/anthropic): correct raw usage informationed329cb: feat:Provider-V33bd2689: feat: extended token usage1cad0ab: feat: add provider version to user-agent header2049c5b: Fix handling of error in web fetch tool in anthropic4c5a6be: feat(provider/anthropic): default and limit maxTokens based on model9e1e758: fix(anthropic): use default thinking budget when unspecified589a4ee: fix(anthropic): simplify pulling first chunk8dac895: feat:LanguageModelV36f845b4: Add support for 2025-08-25 code execution tool9354297: feat(provider/anthropic): add support for Agent Skills03849b0: throw 500 error when the first stream chunk is an error0ae783e: feat(anthropic): add the new tool search tools457318b: chore(provider,ai): switch to SharedV3Warning and unified warningseb56fc6: fix(anthropic): pull first chunk without async IIFEfa35e95: feat(provider/anthropic): add web fetch tool80894b3: add returnfile_idproperty for anthropic code-execution-20250825 to download output files.366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases81d4308: feat(provider/anthropic): mcp connector support6fc35cb: Retain user-supplied betas.f4db7b5: feat(provider/anthropic): expose container from response in provider metadata6c38080: fix(anthropic): support pdf responses in web_fetch_tool_result schema validation4616b86: chore: update zod peer depenedency versiondedf206: feat(provider/anthropic): expose stop_sequence in provider metadata983e394: chore(provider/anthropic): add missing provider options jsdoc0e38a79: support ANTHROPIC_BASE_URLcf4e2a9: Add support for tool calling with structured outputf4e4a95: feat(provider/anthropic): enable fine grained tool streaming by default21f378c: fix(provider/anthropic): do not limit maxTokens when model id is unknownc5440c5: chore(provider/anthropic): update anthropic model ids1d15673: fix(provider/anthropic): clamp temperature to valid 0-1 range with warnings9cff587: chore(provider/anthropic): lazy schema loadingd129d89: chore(anthropic): remove unnecessary doc3794514: feat: flexible tool output content supporte1e2821: fix(provider/anthropic): support null title in web fetch toolcbf52cd: feat: expose raw finish reason10c1322: fix: moved dependency@ai-sdk/test-serverto devDependenciesd08308b: feat(provider/anthropic): memory tool05d5b9a: fix(anthropic): make title field nullable in web_fetch and web_search tool output schemas1bd7d32: feat: tool-specific strict mode83aaad8: Opus 4.5 andeffortprovider optionUpdated dependencies [
0c3b58b]Updated dependencies [
0adc679]Updated dependencies [
50b70d6]Updated dependencies [
d1bdadb]Updated dependencies [
dee8b05]Updated dependencies [
046aa3b]Updated dependencies [
8d9e8ad]Updated dependencies [
78928cb]Updated dependencies [
dce03c4]Updated dependencies [
2625a04]Updated dependencies [
37c58a0]Updated dependencies [
3b1d015]Updated dependencies [
2b0caef]Updated dependencies [
95f65c2]Updated dependencies [
016b111]Updated dependencies [
58920e0]Updated dependencies [
954c356]Updated dependencies [
544d4e8]Updated dependencies [
0c4822d]Updated dependencies [
521c537]Updated dependencies [
4c44a5b]Updated dependencies [
e8109d3]Updated dependencies [
03849b0]Updated dependencies [
ed329cb]Updated dependencies [
e06565c]Updated dependencies [
32d8dbb]Updated dependencies [
53f3368]Updated dependencies [
d116b4b]Updated dependencies [
3bd2689]Updated dependencies [
293a6b7]Updated dependencies [
703459a]Updated dependencies [
bb36798]Updated dependencies [
83e5744]Updated dependencies [
7e32fea]Updated dependencies [
3ed5519]Updated dependencies [
8dac895]Updated dependencies [
a755db5]Updated dependencies [
cbb1d35]Updated dependencies [
475189e]Updated dependencies [
457318b]Updated dependencies [
b681d7d]Updated dependencies [
db913bd]Updated dependencies [
9061dc0]Updated dependencies [
32223c8]Updated dependencies [
c1efac4]Updated dependencies [
366f50b]Updated dependencies [
4616b86]Updated dependencies [
81d4308]Updated dependencies [
9549c9e]Updated dependencies [
af3780b]Updated dependencies [
4f16c37]Updated dependencies [
81e29ab]Updated dependencies [
522f6b8]Updated dependencies [
6306603]Updated dependencies [
fca786b]Updated dependencies [
763d04a]Updated dependencies [
10d819b]Updated dependencies [
3794514]Updated dependencies [
cbf52cd]Updated dependencies [
e9e157f]Updated dependencies [
960ec8f]Updated dependencies [
1bd7d32]Updated dependencies [
f0b2157]Updated dependencies [
95f65c2]v2.0.51Compare Source
Patch Changes
a54839c: fix(anthropic): pull first chunk without async IIFEv2.0.50Compare Source
Patch Changes
7c30c1d: fix(provider/google): preserve nested empty object schemas in tool parameters to fix "property is not defined" validation errors when using required properties with empty object typesv2.0.49Compare Source
Patch Changes
3ea80e7: feat(provider/google): add enterpriseWebSearch toolv2.0.48Compare Source
Patch Changes
1bcc2d7: feat(google): gemini-3-flashv2.0.47Compare Source
Patch Changes
0e182c5: Add Google Maps grounding tool support for location-aware Gemini responsesv2.0.46Compare Source
Patch Changes
ef6d784]v2.0.45Compare Source
Patch Changes
363b1f5: fix(google,google-vertex): update known model IDsv2.0.44Compare Source
Patch Changes
d1dbe5d]v2.0.43Compare Source
Patch Changes
7b2c30f: Fixed Zod validation error when usinggoogle.tools.fileSearch(). The Google File Search API returnsfileSearchStoreinstead ofuriinretrievedContext. UpdatedextractSources()function to handle both the old format (Google Search withuri) and new format (File Search withfileSearchStore), maintaining backward compatibility while preventing validation errors. Also fixed title handling to useundefinedfor URL sources and'Unknown Document'for document sources.v2.0.42Compare Source
Patch Changes
b60216b: Change streamText loop to merge file part processing into main parts loopv2.0.41Compare Source
Patch Changes
3438163: addgemini-3-pro-previewandgemini-3-pro-image-previewmodel IDsv2.0.40Compare Source
Patch Changes
733c6b3: feat(provider/google): Add support for the imageSize provider option